<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<ul id="riskTab" class="contListTab mt10">
    <li class="selectContListTab"><a href="javascript:void(0);">About us</a></li>
</ul>
<div id="riskTabCnt">
    <div class="pad10">
        <ul class="mode_add">
            <li class="wrap_flow">
                <label style="float:left">Image:</label>
                <div style="padding-left: 118px;">
	                <form method="POST" enctype="multipart/form-data" id="aboutUsImageForm" style="float:left;"> 
	                    <input type="hidden" name="filePath" value="file/aboutUs"/>
	                    <input type="hidden" name="width" value="231"/>
	                    <input type="hidden" name="height" value="209"/>
	                    <input type="file" name="file" id="file" onchange="javascript:$('#aboutUsImageForm').submit();"/>
	                </form>
                    <font style="float:left;" color="red">Image Size: 231 x 209</font>
                </div>
                <input type="hidden" id="aboutUsFilePath"/>
            </li>
            <li>
                <label>Image Preview:</label>
                <img style="width:264px;height:230px;" id="aboutUsImage" src="">
            </li>
            <li class="clearall">
                <label class="fleft">About us content:</label>
                <div style="padding-left:110px;">
                    <textarea class="xheditor" id="aboutUsContent" name="aboutUsContent" style="width:630px;height:300px;"></textarea>
                </div>
            </li>
            <li>
                <label>&nbsp;</label>
                <input type="button" id="aboutUsButton" value="Modify" class="blueBtn" onclick="javascript:about.modify();" />
            </li>
        </ul>
    </div>
</div>

<script type="text/javascript" src="js/about.js"></script>
<script type="text/javascript" src="js/upload.js"></script>
<script type="text/javascript">
    
    upload.uploadImage('aboutUs');

    var editor = $('#aboutUsContent').xheditor({upImgUrl:"../xheditor/uploadImage?filePath=/file/aboutUs/",upImgExt:"jpg,jpeg,gif,png"});
    
    about.detail();
</script>
